<template>
  <div>
    <Header></Header>
    <div class="app-main">
      <LeftMenu class="leftmenu"></LeftMenu>
      <RouterView v-slot="{ Component }">
        <component :is="Component" class="content" />
      </RouterView>
    </div>
  </div>
</template>
<script setup>
import Header from "@/components/Header/index.vue";
import LeftMenu from "@/components/Menu/index.vue";
import { RouterView } from "vue-router";
</script>
<style lang="scss">
.app-main {
  display: flex;

  .content {
    width: 100%;
    background-color: #f0f2f5;
    padding: 12px;
    overflow: hidden;
  }
}
</style>
